home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_demo-version / egs_devels / doc / egsintuigfx.doc < prev    next >
Text File  |  1994-06-06  |  13KB  |  1,312 lines

  1. /*
  2. *  $
  3. *  $ FILE     : egsintuigfx.doc
  4. *  $ VERSION  : 1
  5. *  $ REVISION : 1
  6. *  $ DATE     : 08-Feb-93 10:05
  7. *  $
  8. *  $ Author   : mvk
  9. *  $
  10. *
  11. *
  12. * (c) Copyright 1990/93 VIONA Development
  13. *     All Rights Reserved
  14. *
  15. */
  16. egsintuigfx/IG_ADD
  17. egsintuigfx/IG_ADDI
  18. egsintuigfx/IG_ADR
  19. egsintuigfx/IG_Back
  20. egsintuigfx/IG_Box
  21. egsintuigfx/IG_BYTE
  22. egsintuigfx/IG_CALL
  23. egsintuigfx/IG_CBack
  24. egsintuigfx/IG_CDark
  25. egsintuigfx/IG_CLight
  26. egsintuigfx/IG_CNormal
  27. egsintuigfx/IG_Color
  28. egsintuigfx/IG_Const
  29. egsintuigfx/IG_Const24
  30. egsintuigfx/IG_CSelect
  31. egsintuigfx/IG_CTxtBack
  32. egsintuigfx/IG_CTxtFront
  33. egsintuigfx/IG_Debug
  34. egsintuigfx/IG_Do
  35. egsintuigfx/IG_Draw
  36. egsintuigfx/IG_DrawAbs
  37. egsintuigfx/IG_DUP
  38. egsintuigfx/IG_DUPI
  39. egsintuigfx/IG_DUPN
  40. egsintuigfx/IG_Else
  41. egsintuigfx/IG_End
  42. egsintuigfx/IG_Font
  43. egsintuigfx/IG_FRAME
  44. egsintuigfx/IG_GET1
  45. egsintuigfx/IG_GET2
  46. egsintuigfx/IG_GetBack
  47. egsintuigfx/IG_GetColor
  48. egsintuigfx/IG_GETF
  49. egsintuigfx/IG_GETFI
  50. egsintuigfx/IG_GETN
  51. egsintuigfx/IG_GetPosX
  52. egsintuigfx/IG_GetPosY
  53. egsintuigfx/IG_GETSI
  54. egsintuigfx/IG_IDIV
  55. egsintuigfx/IG_If
  56. egsintuigfx/IG_Image
  57. egsintuigfx/IG_IMOD
  58. egsintuigfx/IG_JMP
  59. egsintuigfx/IG_JSR
  60. egsintuigfx/IG_Locate
  61. egsintuigfx/IG_Locate00
  62. egsintuigfx/IG_ModeA
  63. egsintuigfx/IG_ModeAB
  64. egsintuigfx/IG_ModeInvers
  65. egsintuigfx/IG_Move
  66. egsintuigfx/IG_MUL
  67. egsintuigfx/IG_NEG
  68. egsintuigfx/IG_Packed
  69. egsintuigfx/IG_POKE
  70. egsintuigfx/IG_POKEB
  71. egsintuigfx/IG_POKEW
  72. egsintuigfx/IG_POP
  73. egsintuigfx/IG_POPI
  74. egsintuigfx/IG_POPN
  75. egsintuigfx/IG_PUTF
  76. egsintuigfx/IG_PUTFI
  77. egsintuigfx/IG_Repeat
  78. egsintuigfx/IG_ROT3
  79. egsintuigfx/IG_ROTN
  80. egsintuigfx/IG_RTF
  81. egsintuigfx/IG_RTS
  82. egsintuigfx/IG_SAND
  83. egsintuigfx/IG_SEQ
  84. egsintuigfx/IG_SGE
  85. egsintuigfx/IG_SGT
  86. egsintuigfx/IG_SLE
  87. egsintuigfx/IG_SLT
  88. egsintuigfx/IG_SNE
  89. egsintuigfx/IG_SNOT
  90. egsintuigfx/IG_SOR
  91. egsintuigfx/IG_STKADR
  92. egsintuigfx/IG_SUB
  93. egsintuigfx/IG_SWAP
  94. egsintuigfx/IG_Text
  95. egsintuigfx/IG_Until
  96. egsintuigfx/IG_VAL
  97. egsintuigfx/IG_While
  98. egsintuigfx/IG_Write
  99.  
  100.  
  101.  
  102. egsintuigfx/IG_ADD
  103. NAME
  104.   IG_ADD
  105.  
  106. INPUT
  107.   STACK value1
  108.   STACK value2
  109.  
  110. FUNCTION
  111.   Adds value2 to value1 and returns the result on the stack.
  112.  
  113. RETURNS
  114.   STACK value1+value2
  115.  
  116.  
  117.  
  118. egsintuigfx/IG_ADDI
  119. NAME
  120.   IG_ADDI
  121.  
  122. INPUT
  123.   STACK value1
  124.   IMM   value2
  125.  
  126. FUNCTION
  127.   Adds value2 to value1 and returns the result on the stack.
  128.  
  129. RETURNS
  130.   STACK value1+value2
  131.  
  132.  
  133.  
  134. egsintuigfx/IG_ADR
  135. NAME
  136.   IG_ADR
  137.  
  138. INPUT
  139.   STACK pos
  140.  
  141. FUNCTION
  142.   Reads a long word from memory addres pos and returns it on the stack
  143.  
  144. RETURNS
  145.   STACK *(ULONG*)pos
  146.  
  147.  
  148. egsintuigfx/IG_Back
  149. NAME
  150.   IG_Back
  151.  
  152. INPUT
  153.   STACK color
  154.  
  155. FUNCTION
  156.   Sets the current backgroundcolor
  157.  
  158. RETURNS
  159.  
  160.  
  161.  
  162. egsintuigfx/IG_Box
  163. NAME
  164.   IG_Box
  165.  
  166. INPUT
  167.   STACK width
  168.   STACK height
  169.  
  170. FUNCTION
  171.   Draws a filled rectangle with width and height.
  172.  
  173. RETURNS
  174.  
  175.  
  176.  
  177. egsintuigfx/IG_BYTE
  178. NAME
  179.   IG_BYTE
  180.  
  181. INPUT
  182.   STACK pos
  183.  
  184. FUNCTION
  185.   Reads a byte from memory addres pos and returns it on the stack
  186.  
  187. RETURNS
  188.   STACK *(UBYTE*)pos
  189.  
  190.  
  191. egsintuigfx/IG_CALL
  192. NAME
  193.   IG_CALL
  194.  
  195. INPUT
  196.  
  197. FUNCTION
  198.  
  199. RETURNS
  200.  
  201.  
  202.  
  203. egsintuigfx/IG_CBack
  204. NAME
  205.   IG_CBack
  206.  
  207. INPUT
  208.  
  209. FUNCTION
  210.   Gets the windows background color.
  211.  
  212. RETURNS
  213.   STACK wincolors.back
  214.  
  215.  
  216.  
  217. egsintuigfx/IG_CDark
  218. NAME
  219.   IG_CDark
  220.  
  221. INPUT
  222.  
  223. FUNCTION
  224.   Gets the windows dark color.
  225.  
  226. RETURNS
  227.   STACK wincolors.dark
  228.  
  229.  
  230.  
  231. egsintuigfx/IG_CLight
  232. NAME
  233.   IG_CLight
  234.  
  235. INPUT
  236.  
  237. FUNCTION
  238.   Gets the windows light color.
  239.  
  240. RETURNS
  241.   STACK wincolors.light
  242.  
  243.  
  244.  
  245. egsintuigfx/IG_CNormal
  246. NAME
  247.   IG_CNormal
  248.  
  249. INPUT
  250.  
  251. FUNCTION
  252.   Gets the windows normal color.
  253.  
  254. RETURNS
  255.   STACK wincolors.normal
  256.  
  257.  
  258.  
  259. egsintuigfx/IG_Color
  260. NAME
  261.   IG_Color
  262.  
  263. INPUT
  264.   STACK color
  265.  
  266. FUNCTION
  267.   Sets the currend foreground color.
  268.  
  269. RETURNS
  270.  
  271.  
  272.  
  273. egsintuigfx/IG_Const
  274. NAME
  275.   IG_Const
  276.  
  277. INPUT
  278.   IMM   value
  279.  
  280. FUNCTION
  281.   Puts a sign extended value on the stack.
  282.  
  283. RETURNS
  284.   STACK (LONG) value
  285.  
  286.  
  287.  
  288. egsintuigfx/IG_Const24
  289. NAME
  290.   IG_Const24
  291.  
  292. INPUT
  293.   IMM   value
  294.  
  295. FUNCTION
  296.   Puts a 24Bit constant 8 bis left shifted on the stack.
  297.  
  298. RETURNS
  299.   STACK value<<8
  300.  
  301.  
  302. egsintuigfx/IG_CSelect
  303. NAME
  304.   IG_CSelect
  305.  
  306. INPUT
  307.  
  308. FUNCTION
  309.   Gets the windows select color.
  310.  
  311. RETURNS
  312.   STACK wincolors.select
  313.  
  314.  
  315.  
  316. egsintuigfx/IG_CTxtBack
  317. NAME
  318.   IG_CTxtBack
  319.  
  320. INPUT
  321.  
  322. FUNCTION
  323.   Gets the windows text background color
  324.  
  325. RETURNS
  326.   STACK wincolors.txtBack
  327.  
  328.  
  329. egsintuigfx/IG_CTxtFront
  330. NAME
  331.   IG_CTxtFront
  332.  
  333. INPUT
  334.  
  335. FUNCTION
  336.   Gets the windows text foreground color
  337.  
  338. RETURNS
  339.   STACK wincolors.txtFront
  340.  
  341.  
  342.  
  343. egsintuigfx/IG_Debug
  344. NAME
  345.   IG_Debug
  346.  
  347. INPUT
  348.  
  349. FUNCTION
  350.  
  351. RETURNS
  352.  
  353.  
  354.  
  355. egsintuigfx/IG_Do
  356. NAME
  357.   IG_Do
  358.  
  359. INPUT
  360.  
  361. FUNCTION
  362.   See IG_While
  363.  
  364. RETURNS
  365.  
  366.  
  367.  
  368. egsintuigfx/IG_Draw
  369. NAME
  370.   IG_Draw
  371.  
  372. INPUT
  373.   STACK dx
  374.   STACK dy
  375.  
  376. FUNCTION
  377.   Draws a line from the current position by dx, dy
  378.  
  379. RETURNS
  380.  
  381.  
  382.  
  383. egsintuigfx/IG_DrawAbs
  384. NAME
  385.   IG_DrawAbs
  386.  
  387. INPUT
  388.   STACK x
  389.   STACK y
  390.  
  391. FUNCTION
  392.   Draws a line fromt the current position to x, y.
  393.  
  394. RETURNS
  395.  
  396.  
  397.  
  398. egsintuigfx/IG_DUP
  399. NAME
  400.   IG_DUP
  401.  
  402. INPUT
  403.   STACK value
  404.  
  405. FUNCTION
  406.   Puts a copy of value on the stack.
  407.  
  408. RETURNS
  409.   STACK value, value
  410.  
  411.  
  412. egsintuigfx/IG_DUPI
  413. NAME
  414.   IG_DUPI
  415.  
  416. INPUT
  417.   STACK value[1..n]
  418.   IMM   n
  419.  
  420. FUNCTION
  421.   Duplicates n values on the stack.
  422.  
  423. RETURNS
  424.   STACK value[1..n], value[1..n]
  425.  
  426.  
  427. egsintuigfx/IG_DUPN
  428. NAME
  429.   IG_DUPN
  430.  
  431. INPUT
  432.   STACK value[1..n]
  433.   STACK n
  434.  
  435. FUNCTION
  436.   Duplicates n values on the stack.
  437.  
  438. RETURNS
  439.   STACK value[1..n], value[1..n]
  440.  
  441.  
  442.  
  443. egsintuigfx/IG_Else
  444. NAME
  445.   IG_Else
  446.  
  447. INPUT
  448.  
  449. FUNCTION
  450.   See IG_If
  451.  
  452. RETURNS
  453.  
  454.  
  455.  
  456. egsintuigfx/IG_End
  457. NAME
  458.   IG_End
  459.  
  460. INPUT
  461.  
  462. FUNCTION
  463.   See IG_While, IG_If
  464.  
  465. RETURNS
  466.  
  467.  
  468.  
  469. egsintuigfx/IG_Font
  470. NAME
  471.   IG_Font
  472.  
  473. INPUT
  474.   STACK font
  475.  
  476. FUNCTION
  477.   Sets the current font
  478.  
  479. RETURNS
  480.  
  481.  
  482.  
  483. egsintuigfx/IG_FRAME
  484. NAME
  485.   IG_FRAME
  486.  
  487. INPUT
  488.   IMM   size
  489.  
  490. FUNCTION
  491.   Makes space vor size value on the frame.
  492.  
  493. RETURNS
  494.  
  495.  
  496.  
  497. egsintuigfx/IG_GET1
  498. NAME
  499.   IG_GET1
  500.  
  501. INPUT
  502.  
  503. FUNCTION
  504.    Gets second value from stack top
  505.  
  506. RETURNS
  507.   STACK TOF(1)
  508.  
  509.  
  510.  
  511. egsintuigfx/IG_GET2
  512. NAME
  513.   IG_GET2
  514.  
  515. INPUT
  516.  
  517. FUNCTION
  518.   Gets third value from stack top
  519.  
  520. RETURNS
  521.   STACK TOF(2)
  522.  
  523.  
  524.  
  525. egsintuigfx/IG_GetBack
  526. NAME
  527.   IG_GetBack
  528.  
  529. INPUT
  530.  
  531. FUNCTION
  532.   Gets current background color
  533.  
  534. RETURNS
  535.   STACK bPen
  536.  
  537.  
  538. egsintuigfx/IG_GetColor
  539. NAME
  540.   IG_GetColor
  541.  
  542. INPUT
  543.  
  544. FUNCTION
  545.   Gets current foreground color
  546.  
  547. RETURNS
  548.   STACK aPen
  549.  
  550.  
  551.  
  552. egsintuigfx/IG_GETF
  553. NAME
  554.   IG_GETF
  555.  
  556. INPUT
  557.   STACK n
  558.  
  559. FUNCTION
  560.   Gets n'th element from frame
  561.  
  562. RETURNS
  563.   STACK FRAME(n)
  564.  
  565.  
  566.  
  567. egsintuigfx/IG_GETFI
  568. NAME
  569.   IG_GETFI
  570.  
  571. INPUT
  572.   IMM   n
  573.  
  574. FUNCTION
  575.   Gets n'th element from frame
  576.  
  577. RETURNS
  578.   STACK FRAME(n)
  579.  
  580.  
  581.  
  582. egsintuigfx/IG_GETN
  583. NAME
  584.   IG_GETN
  585.  
  586. INPUT
  587.   STACK n
  588.  
  589. FUNCTION
  590.   Gets n'th element from stack top
  591.  
  592. RETURNS
  593.   STACK TOF(n)
  594.  
  595.  
  596.  
  597. egsintuigfx/IG_GetPosX
  598. NAME
  599.   IG_GetPosX
  600.  
  601. INPUT
  602.  
  603. FUNCTION
  604.   Gets current x position of graphic cursor
  605.  
  606. RETURNS
  607.   STACK cx
  608.  
  609.  
  610.  
  611. egsintuigfx/IG_GetPosY
  612. NAME
  613.   IG_GetPosY
  614.  
  615. INPUT
  616.  
  617. FUNCTION
  618.   Gets current y position of graphic cursor
  619.  
  620. RETURNS
  621.   STACK cy
  622.  
  623.  
  624.  
  625. egsintuigfx/IG_GETSI
  626. NAME
  627.   IG_GETSI
  628.  
  629. INPUT
  630.   IMM   n
  631.  
  632. FUNCTION
  633.   Gets n'th element from stack top
  634.  
  635. RETURNS
  636.   STACK TOF(n)
  637.  
  638.  
  639.  
  640. egsintuigfx/IG_IDIV
  641. NAME
  642.   IG_IDIV
  643.  
  644. INPUT
  645.   STACK value1
  646.   IMM   value2
  647.  
  648. FUNCTION
  649.   Divides value1 by value2
  650.  
  651. RETURNS
  652.   STACK value1/value2
  653.  
  654.  
  655.  
  656. egsintuigfx/IG_If
  657. NAME
  658.   IG_If
  659.  
  660. STRUCTURE
  661.   IG_If condition IG_Then statement1 [IG_Else statement2] IG_End
  662.  
  663. FUNCTION
  664.   Evaluates condition, if TOF is not zero executes statement1 else
  665.   statement2.
  666.  
  667. RETURNS
  668.  
  669.  
  670.  
  671. egsintuigfx/IG_Image
  672. NAME
  673.   IG_Image
  674.  
  675. INPUT
  676.   STACK image
  677.  
  678. FUNCTION
  679.   Copies an image to the current cursor position. The image is a pointer
  680.   to an E_EBitMap, the dimensions are the bitmaps dimensions.
  681.  
  682. RETURNS
  683.  
  684.  
  685.  
  686. egsintuigfx/IG_IMOD
  687. NAME
  688.   IG_IMOD
  689.  
  690. INPUT
  691.   STACK value1
  692.   IMM   value2
  693.  
  694. FUNCTION
  695.   Returns the remainder of value1 divided by value2
  696.  
  697. RETURNS
  698.   STACK value1 MOD value2
  699.  
  700.  
  701.  
  702. egsintuigfx/IG_JMP
  703. NAME
  704.   IG_JMP
  705.  
  706. INPUT
  707.   STACK adr
  708.  
  709. FUNCTION
  710.   Jumps to an IntuiGfx programm at address adr
  711.  
  712. RETURNS
  713.  
  714.  
  715.  
  716. egsintuigfx/IG_JSR
  717. NAME
  718.   IG_JSR
  719.  
  720. INPUT
  721.   STACK adr
  722.  
  723. FUNCTION
  724.   Jumps to an IntuiGfx programm at address adr and saves return address.
  725.  
  726. RETURNS
  727.  
  728.  
  729.  
  730. egsintuigfx/IG_Locate
  731. NAME
  732.   IG_Locate
  733.  
  734. INPUT
  735.   STACK x
  736.   STACK y
  737.  
  738. FUNCTION
  739.   Sets the graphic cursor to x, y.
  740.  
  741. RETURNS
  742.  
  743.  
  744.  
  745. egsintuigfx/IG_Locate00
  746. NAME
  747.   IG_Locate00
  748.  
  749. INPUT
  750.  
  751. FUNCTION
  752.   Sets the graphic cursor to 0, 0.
  753.  
  754. RETURNS
  755.  
  756.  
  757.  
  758. egsintuigfx/IG_ModeA
  759. NAME
  760.   IG_ModeA
  761.  
  762. INPUT
  763.  
  764. FUNCTION
  765.   Sets drawmode drawAPen
  766.  
  767. RETURNS
  768.  
  769.  
  770.  
  771. egsintuigfx/IG_ModeAB
  772. NAME
  773.   IG_ModeAB
  774.  
  775. INPUT
  776.  
  777. FUNCTION
  778.   Sets drawmode drawABPen
  779.  
  780. RETURNS
  781.  
  782.  
  783.  
  784. egsintuigfx/IG_ModeInvers
  785. NAME
  786.   IG_ModeInvers
  787.  
  788. INPUT
  789.  
  790. FUNCTION
  791.   Sets drawmode drawInvers
  792.  
  793. RETURNS
  794.  
  795.  
  796.  
  797. egsintuigfx/IG_Move
  798. NAME
  799.   IG_Move
  800.  
  801. INPUT
  802.   STACK dx
  803.   STACK dy
  804.  
  805. FUNCTION
  806.   Moves the graphic cursor by dx, dy
  807.  
  808. RETURNS
  809.  
  810.  
  811.  
  812. egsintuigfx/IG_MUL
  813. NAME
  814.   IG_MUL
  815.  
  816. INPUT
  817.   STACK value1
  818.   STACK value2
  819.  
  820. FUNCTION
  821.   Multiplies value1 by value2 and returns the result
  822.  
  823. RETURNS
  824.   STACK value1*value2
  825.  
  826.  
  827.  
  828. egsintuigfx/IG_NEG
  829. NAME
  830.   IG_NEG
  831.  
  832. INPUT
  833.   STACK value
  834.  
  835. FUNCTION
  836.   Negates value and returns the result
  837.  
  838. RETURNS
  839.   STACK -value
  840.  
  841.  
  842.  
  843. egsintuigfx/IG_Packed
  844. NAME
  845.   IG_Packed
  846.  
  847. INPUT
  848.   STACK colors
  849.   STACK image
  850.  
  851. FUNCTION
  852.   Unpacks an image from bitplane form to bitmap and copies it to the current
  853.   cursor location
  854.  
  855. RETURNS
  856.  
  857.  
  858.  
  859. egsintuigfx/IG_POKE
  860. NAME
  861.   IG_POKE
  862.  
  863. INPUT
  864.   STACK value
  865.   STACK adr
  866.  
  867. FUNCTION
  868.   Writes longword value to memory address adr. *(ULONG*)adr=value
  869.  
  870. RETURNS
  871.  
  872.  
  873.  
  874. egsintuigfx/IG_POKEB
  875. NAME
  876.   IG_POKEB
  877.  
  878. INPUT
  879.   STACK value
  880.   STACK adr
  881.  
  882. FUNCTION
  883.   Writes byte value to memory address adr. *(UBYTE*)adr=value
  884.  
  885. RETURNS
  886.  
  887.  
  888.  
  889. egsintuigfx/IG_POKEW
  890. NAME
  891.   IG_POKEW
  892.  
  893. INPUT
  894.   STACK value
  895.   STACK adr
  896.  
  897. FUNCTION
  898.   Writes word value to memory address adr. *(UWORD*)adr=value
  899.  
  900. RETURNS
  901.  
  902.  
  903.  
  904. egsintuigfx/IG_POP
  905. NAME
  906.   IG_POP
  907.  
  908. INPUT
  909.   STACK dummy
  910.  
  911. FUNCTION
  912.   Removes the topmost element from the stack
  913.  
  914. RETURNS
  915.  
  916.  
  917.  
  918. egsintuigfx/IG_POPI
  919. NAME
  920.   IG_POPI
  921.  
  922. INPUT
  923.   STACK [1..n]
  924.   IMM   n
  925.  
  926. FUNCTION
  927.   Removes n elements from the stack
  928.  
  929. RETURNS
  930.  
  931.  
  932.  
  933. egsintuigfx/IG_POPN
  934. NAME
  935.   IG_POPN
  936.  
  937. INPUT
  938.   STACK [1..n]
  939.   STACk n
  940.  
  941. FUNCTION
  942.   Removes n elements from the stack
  943.  
  944. RETURNS
  945.  
  946.  
  947.  
  948. egsintuigfx/IG_PUTF
  949. NAME
  950.   IG_PUTF
  951.  
  952. INPUT
  953.   STACK value
  954.   STACK pos
  955.  
  956. FUNCTION
  957.   Moves value into frame at position pos
  958.  
  959. RETURNS
  960.  
  961.  
  962.  
  963. egsintuigfx/IG_PUTFI
  964. NAME
  965.   IG_PUTFI
  966.  
  967. INPUT
  968.   STACK value
  969.   IMM   pos
  970.  
  971. FUNCTION
  972.   Moves value into frame at position pos
  973.  
  974. RETURNS
  975.  
  976.  
  977.  
  978. egsintuigfx/IG_Repeat
  979. NAME
  980.   IG_Repeat
  981.  
  982. STRUCTURE
  983.    IG_Repeat statement condition IG_Until
  984.  
  985. FUNCTION
  986.    Executes statement until condition leaves a non zero value on the stack
  987.  
  988. RETURNS
  989.  
  990.  
  991.  
  992. egsintuigfx/IG_ROT3
  993. NAME
  994.   IG_ROT3
  995.  
  996. INPUT
  997.    STACK value1
  998.    STACK value2
  999.    STACK value3
  1000.  
  1001. FUNCTION
  1002.    Rotates the three topmost elements on the stack
  1003.  
  1004. RETURNS
  1005.    STACK value3
  1006.    STACK value1
  1007.    STACK value2
  1008.  
  1009.  
  1010.  
  1011. egsintuigfx/IG_ROTN
  1012. NAME
  1013.   IG_ROTN
  1014.  
  1015. INPUT
  1016.   STACK value[1..n]
  1017.   STACK n
  1018.  
  1019. FUNCTION
  1020.   Rotates the n top elements of the stack
  1021.  
  1022. RETURNS
  1023.   STACK value[n]
  1024.   STACK value[1..n-1]
  1025.  
  1026.  
  1027.  
  1028. egsintuigfx/IG_RTF
  1029. NAME
  1030.   IG_RTF
  1031.  
  1032. INPUT
  1033.   IMM   size
  1034.  
  1035. FUNCTION
  1036.   Deletes the frame, removes size parameters from stack, and returns to
  1037.   calling routine
  1038.  
  1039. RETURNS
  1040.  
  1041.  
  1042.  
  1043. egsintuigfx/IG_RTS
  1044. NAME
  1045.   IG_RTS
  1046.  
  1047. INPUT
  1048.  
  1049. FUNCTION
  1050.   Returns to calling routine
  1051.  
  1052. RETURNS
  1053.  
  1054.  
  1055.  
  1056. egsintuigfx/IG_SAND
  1057. NAME
  1058.   IG_SAND
  1059.  
  1060. INPUT
  1061.   STACK bool1
  1062.   STACK bool2
  1063.  
  1064. FUNCTION
  1065.   Returns true (not zero) if bool1 and bool2 are true.
  1066.  
  1067. RETURNS
  1068.   STACK bool1 & bool2
  1069.  
  1070.  
  1071.  
  1072. egsintuigfx/IG_SEQ
  1073. NAME
  1074.   IG_SEQ
  1075.  
  1076. INPUT
  1077.   STACK value
  1078.  
  1079. FUNCTION
  1080.   Returns true, if value2 equates value1
  1081.  
  1082. RETURNS
  1083.   STACK value1=value2
  1084.  
  1085.  
  1086.  
  1087. egsintuigfx/IG_SGE
  1088. NAME
  1089.   IG_SGE
  1090.  
  1091. INPUT
  1092.   STACK value1
  1093.   STACK value2
  1094.  
  1095. FUNCTION
  1096.   Returns true, if value2 is greater or equal value1
  1097.  
  1098. RETURNS
  1099.   STACK value2>=value1
  1100.  
  1101.  
  1102.  
  1103. egsintuigfx/IG_SGT
  1104. NAME
  1105.   IG_SGT
  1106.  
  1107. INPUT
  1108.   STACK value1
  1109.   STACK value2
  1110.  
  1111. FUNCTION
  1112.   Returns true, if value2 is greater than value1
  1113.  
  1114. RETURNS
  1115.   STACK value2>value1
  1116.  
  1117.  
  1118.  
  1119. egsintuigfx/IG_SLE
  1120. NAME
  1121.   IG_SLE
  1122.  
  1123. INPUT
  1124.   STACK value1
  1125.   STACK value2
  1126.  
  1127. FUNCTION
  1128.   Returns true, if value2 is less or equal value1
  1129.  
  1130. RETURNS
  1131.   STACK value2<=value1
  1132.  
  1133.  
  1134.  
  1135. egsintuigfx/IG_SLT
  1136. NAME
  1137.   IG_SLT
  1138.  
  1139. INPUT
  1140.   STACK value1
  1141.   STACK value2
  1142.  
  1143. FUNCTION
  1144.   Returns true, if value2 is less than value1
  1145.  
  1146. RETURNS
  1147.   STACK value2<value1
  1148.  
  1149.  
  1150.  
  1151. egsintuigfx/IG_SNE
  1152. NAME
  1153.   IG_SNE
  1154.  
  1155. INPUT
  1156.   STACK value1
  1157.   STACK value2
  1158.  
  1159. FUNCTION
  1160.   Returns true if value2 is not equal value1
  1161.  
  1162. RETURNS
  1163.   STACK value2!=value1
  1164.  
  1165.  
  1166.  
  1167. egsintuigfx/IG_SNOT
  1168. NAME
  1169.   IG_SNOT
  1170.  
  1171. INPUT
  1172.   STACK value
  1173.  
  1174. FUNCTION
  1175.   Returns true if value is false
  1176.  
  1177. RETURNS
  1178.   STACK value=0
  1179.  
  1180.  
  1181.  
  1182. egsintuigfx/IG_SOR
  1183. NAME
  1184.   IG_SOR
  1185.  
  1186. INPUT
  1187.   STACK value1
  1188.   STACK value2
  1189.  
  1190. FUNCTION
  1191.   Returns true if value1 or value2 is true
  1192.  
  1193. RETURNS
  1194.   STACK value1|value2
  1195.  
  1196.  
  1197.  
  1198. egsintuigfx/IG_STKADR
  1199. NAME
  1200.   IG_STKADR
  1201.  
  1202. INPUT
  1203.  
  1204. FUNCTION
  1205.   Returns the address of the stack top
  1206.  
  1207. RETURNS
  1208.   STACK &TOF
  1209.  
  1210.  
  1211.  
  1212. egsintuigfx/IG_SUB
  1213. NAME
  1214.   IG_SUB
  1215.  
  1216. INPUT
  1217.   STACK value1
  1218.   STACK value2
  1219.  
  1220. FUNCTION
  1221.   Subtracts value2 from value1 and returns the result
  1222.  
  1223. RETURNS
  1224.    STACK value1-value2
  1225.  
  1226.  
  1227.  
  1228. egsintuigfx/IG_SWAP
  1229. NAME
  1230.   IG_SWAP
  1231.  
  1232. INPUT
  1233.   STACK value1
  1234.   STACK value2
  1235.  
  1236. FUNCTION
  1237.   Swaps value1 and value2
  1238.  
  1239. RETURNS
  1240.   STACK value2, value1
  1241.  
  1242.  
  1243.  
  1244. egsintuigfx/IG_Text
  1245. NAME
  1246.   IG_Text
  1247.  
  1248. INPUT
  1249.   STACK text
  1250.  
  1251. FUNCTION
  1252.   Writes a text into the rastport, text points to first char, the string has
  1253.   to be 0 terminated
  1254.  
  1255. RETURNS
  1256.  
  1257.  
  1258.  
  1259. egsintuigfx/IG_Until
  1260. NAME
  1261.   IG_Until
  1262.  
  1263. INPUT
  1264.  
  1265. FUNCTION
  1266.   See IG_Repeat
  1267.  
  1268. RETURNS
  1269.  
  1270.  
  1271.  
  1272. egsintuigfx/IG_VAL
  1273. NAME
  1274.   IG_VAL
  1275.  
  1276. INPUT
  1277.   STACK pos
  1278.  
  1279. FUNCTION
  1280.   Reads a word from memory addres pos and returns it on the stack
  1281.  
  1282. RETURNS
  1283.   STACK *(UWORD*)pos
  1284.  
  1285.  
  1286.  
  1287. egsintuigfx/IG_While
  1288. NAME
  1289.   IG_While
  1290.  
  1291. STRUCTURE
  1292.   IG_While condition IG_Do statement IG_End
  1293.  
  1294. FUNCTION
  1295.   Executes condition, as long as condition returns true on the stack
  1296.   statement and condition is executed.
  1297.  
  1298. RETURNS
  1299.  
  1300.  
  1301.  
  1302. egsintuigfx/IG_Write
  1303. NAME
  1304.   IG_Write
  1305.  
  1306. INPUT
  1307.  
  1308. FUNCTION
  1309.  
  1310. RETURNS
  1311.  
  1312.